package com.midou.administration.mapper;

import com.midou.administration.entity.UserCoupon;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author MrChen
 * @since 2021-03-24
 */
public interface UserCouponMapper extends BaseMapper<UserCoupon> {
    public int queryId(@Param("userId")Integer userId,@Param("yhjId")Integer yhjId,@Param("fxsjId")Integer fxsjId);
    public int queryId();

    UserCoupon sele(int id);

    List<UserCoupon> queryByUserId(@Param("userId") int userId);
}
